<template>
    <el-row class="toolsButtons"
            v-loading="loading"
            element-loading-text="正在拼命加载..."
            style="background:lightskyblue; text-align: left; vertcial-align: middle;">
        <el-col :span="21">
            <el-button type="text"
                       style="margin-left: 10px;"
                       size="small"
                       icon="edit"
                       @click="onClick">
            </el-button>
        </el-col>
        <el-col :span="3">
            <breadcrumb></breadcrumb>
        </el-col>
    </el-row>
</template>

<script>
    import breadcrumb from '@/components/breadcrumb.vue'
    export default {
        data () {
            return {
                loading: false
            }
        },
        components: { breadcrumb },
        methods: {
            onClick () {
                this.$emit('add')
            }
        }
    }
</script>
